

import 'package:flutter_model_package/parse_base.dart';
import 'package:parse_server_sdk/parse_server_sdk.dart';

class Album extends MSParseBase {
  Album() : super("Album");
  Album.cloe() : this();

  @override
  Album clone(Map<String, dynamic> map) => Album.cloe()..fromJson(map);

  QueryBuilder forRelateTo(String stuId){
    return QueryBuilder(this)..whereRelatedTo("albums", "Student", stuId);
  }
}